package com.wsoft.bpm.node;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 监听器
 *
 * @Author zhonglj
 * @Date 2024-09-11 9:42
 */
@Getter
@Setter
@Accessors(chain = true)
public class ExecutionListener extends ActivityXml {

    private String event;
    private String clz;
    private String expression;
    private String delegateExpression;
    private List<ListenerField> fields;

    public ExecutionListener() {
        setTagName("activiti:executionListener");
        putXmlKey("clz", "class");
    }
}
